package com.lex.manager.dao;

import com.lex.manager.pojo.dto.PageParam;
import com.lex.manager.pojo.dto.UserCustomer;
import com.lex.manager.pojo.dto.UserQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserCustomerMapper extends UserMapper {
    List<UserCustomer> listUserCustomerByPage(@Param("pageParam") PageParam pageParam, @Param("userQuery") UserQuery userQuery);

    UserCustomer getUserCustomerByUid(@Param("uid") Long uid);

    Integer countByQuery(@Param("userQuery") UserQuery userQuery);
}
